﻿using System.ComponentModel.DataAnnotations;

namespace Project.MVC.PhanQuyen.Model
{
    using System;
    using System.Collections.Generic;
	
    #region PQNhomSuDungInfo
	/// <summary>
	/// Summary description for PQNhomSuDungInfo.
	/// </summary>
	
    [Serializable]
	public class PQNhomSuDungInfo 
	{
		public PQNhomSuDungInfo() { }	
		
		#region Properties
		#region Primary Key
		public int Id { get; set; }
		#endregion

        [Required(ErrorMessage = "Xin vui lòng nhập tên nhóm")]
        [StringLength(50, ErrorMessage = "Tên nhóm tối đa 50 ký tự")]
		public string TenNhom { get; set; }

        public string maNhom { get; set; }

		public string GhiChu { get; set; }

		public string UserName { get; set; }

		public string UserFullName { get; set; }

		public DateTime? TimeInput { get; set; }

		public byte[] RowVersion { get; set; }

        public List<PQNguoiDungInfo> NguoiDungList { get; set; }

        public List<PQNguoiDungInfo> NguoiDungDuocChonList { get; set; }
		#endregion		

        public List<PQNhomSuDungCongViecInfo> NhomSuDungCongViecList { get; set; }
        public string Message { get; set; }
	}
	#endregion	
}